package com.example.lark.im.result;

import com.alibaba.fastjson2.annotation.JSONField;
import com.example.api.common.entity.EmptyData;
import com.example.lark.common.utils.LarkSuiteResult;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class LarkSuiteTenantAccessTokenResult extends LarkSuiteResult<EmptyData> {

    /**
     * 过期时间
     */
    @JSONField(name = "expire")
    private Integer expire;

    /**
     * 租户访问凭证tenant_access_token
     */
    @JSONField(name = "tenant_access_token")
    private String tenantAccessToken;
}
